package day_2022_7_to_8.day48;

/**
 * @author haomin
 * @date 2022/08/30 15:44
 **/
public class Day45_11_Offer17_PrintNumbers {
    class Solution {
        public int[] printNumbers(int n) {
            int len = (int) Math.pow(10, n);
            int[] ans = new int[len-1];
            for(int i = 0; i < len-1; ++i){
                ans[i] = i+1;
            }
            return ans;
        }
    }
}